﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001035 RID: 4149
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournHandbookInfo : IMessage<RogueTournHandbookInfo>, IMessage, IEquatable<RogueTournHandbookInfo>, IDeepCloneable<RogueTournHandbookInfo>, IBufferMessage
	{
		// Token: 0x17003469 RID: 13417
		// (get) Token: 0x0600B98A RID: 47498 RVA: 0x001F3F8F File Offset: 0x001F218F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournHandbookInfo> Parser
		{
			get
			{
				return RogueTournHandbookInfo._parser;
			}
		}

		// Token: 0x1700346A RID: 13418
		// (get) Token: 0x0600B98B RID: 47499 RVA: 0x001F3F96 File Offset: 0x001F2196
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournHandbookInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700346B RID: 13419
		// (get) Token: 0x0600B98C RID: 47500 RVA: 0x001F3FA8 File Offset: 0x001F21A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournHandbookInfo.Descriptor;
			}
		}

		// Token: 0x0600B98D RID: 47501 RVA: 0x001F3FAF File Offset: 0x001F21AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournHandbookInfo()
		{
		}

		// Token: 0x0600B98E RID: 47502 RVA: 0x001F3FF0 File Offset: 0x001F21F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournHandbookInfo(RogueTournHandbookInfo other) : this()
		{
			this.dDJMHBBHHCN_ = other.dDJMHBBHHCN_.Clone();
			this.bOKJMIFIKOM_ = other.bOKJMIFIKOM_.Clone();
			this.rogueTournHandbookConst_ = other.rogueTournHandbookConst_;
			this.bBNHNOFGIIP_ = other.bBNHNOFGIIP_.Clone();
			this.hMDDJONLHFL_ = other.hMDDJONLHFL_.Clone();
			this.handbookEventList_ = other.handbookEventList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B98F RID: 47503 RVA: 0x001F4075 File Offset: 0x001F2275
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournHandbookInfo Clone()
		{
			return new RogueTournHandbookInfo(this);
		}

		// Token: 0x1700346C RID: 13420
		// (get) Token: 0x0600B990 RID: 47504 RVA: 0x001F407D File Offset: 0x001F227D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DDJMHBBHHCN
		{
			get
			{
				return this.dDJMHBBHHCN_;
			}
		}

		// Token: 0x1700346D RID: 13421
		// (get) Token: 0x0600B991 RID: 47505 RVA: 0x001F4085 File Offset: 0x001F2285
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BOKJMIFIKOM
		{
			get
			{
				return this.bOKJMIFIKOM_;
			}
		}

		// Token: 0x1700346E RID: 13422
		// (get) Token: 0x0600B992 RID: 47506 RVA: 0x001F408D File Offset: 0x001F228D
		// (set) Token: 0x0600B993 RID: 47507 RVA: 0x001F4095 File Offset: 0x001F2295
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RogueTournHandbookConst
		{
			get
			{
				return this.rogueTournHandbookConst_;
			}
			set
			{
				this.rogueTournHandbookConst_ = value;
			}
		}

		// Token: 0x1700346F RID: 13423
		// (get) Token: 0x0600B994 RID: 47508 RVA: 0x001F409E File Offset: 0x001F229E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BBNHNOFGIIP
		{
			get
			{
				return this.bBNHNOFGIIP_;
			}
		}

		// Token: 0x17003470 RID: 13424
		// (get) Token: 0x0600B995 RID: 47509 RVA: 0x001F40A6 File Offset: 0x001F22A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> HMDDJONLHFL
		{
			get
			{
				return this.hMDDJONLHFL_;
			}
		}

		// Token: 0x17003471 RID: 13425
		// (get) Token: 0x0600B996 RID: 47510 RVA: 0x001F40AE File Offset: 0x001F22AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> HandbookEventList
		{
			get
			{
				return this.handbookEventList_;
			}
		}

		// Token: 0x0600B997 RID: 47511 RVA: 0x001F40B6 File Offset: 0x001F22B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournHandbookInfo);
		}

		// Token: 0x0600B998 RID: 47512 RVA: 0x001F40C4 File Offset: 0x001F22C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournHandbookInfo other)
		{
			return other != null && (other == this || (this.dDJMHBBHHCN_.Equals(other.dDJMHBBHHCN_) && this.bOKJMIFIKOM_.Equals(other.bOKJMIFIKOM_) && this.RogueTournHandbookConst == other.RogueTournHandbookConst && this.bBNHNOFGIIP_.Equals(other.bBNHNOFGIIP_) && this.hMDDJONLHFL_.Equals(other.hMDDJONLHFL_) && this.handbookEventList_.Equals(other.handbookEventList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B999 RID: 47513 RVA: 0x001F4168 File Offset: 0x001F2368
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.dDJMHBBHHCN_.GetHashCode();
			num ^= this.bOKJMIFIKOM_.GetHashCode();
			if (this.RogueTournHandbookConst != 0U)
			{
				num ^= this.RogueTournHandbookConst.GetHashCode();
			}
			num ^= this.bBNHNOFGIIP_.GetHashCode();
			num ^= this.hMDDJONLHFL_.GetHashCode();
			num ^= this.handbookEventList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B99A RID: 47514 RVA: 0x001F41ED File Offset: 0x001F23ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B99B RID: 47515 RVA: 0x001F41F5 File Offset: 0x001F23F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B99C RID: 47516 RVA: 0x001F4200 File Offset: 0x001F2400
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.dDJMHBBHHCN_.WriteTo(ref output, RogueTournHandbookInfo._repeated_dDJMHBBHHCN_codec);
			this.bOKJMIFIKOM_.WriteTo(ref output, RogueTournHandbookInfo._repeated_bOKJMIFIKOM_codec);
			this.handbookEventList_.WriteTo(ref output, RogueTournHandbookInfo._repeated_handbookEventList_codec);
			this.hMDDJONLHFL_.WriteTo(ref output, RogueTournHandbookInfo._repeated_hMDDJONLHFL_codec);
			if (this.RogueTournHandbookConst != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.RogueTournHandbookConst);
			}
			this.bBNHNOFGIIP_.WriteTo(ref output, RogueTournHandbookInfo._repeated_bBNHNOFGIIP_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B99D RID: 47517 RVA: 0x001F4294 File Offset: 0x001F2494
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.dDJMHBBHHCN_.CalculateSize(RogueTournHandbookInfo._repeated_dDJMHBBHHCN_codec);
			num += this.bOKJMIFIKOM_.CalculateSize(RogueTournHandbookInfo._repeated_bOKJMIFIKOM_codec);
			if (this.RogueTournHandbookConst != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RogueTournHandbookConst);
			}
			num += this.bBNHNOFGIIP_.CalculateSize(RogueTournHandbookInfo._repeated_bBNHNOFGIIP_codec);
			num += this.hMDDJONLHFL_.CalculateSize(RogueTournHandbookInfo._repeated_hMDDJONLHFL_codec);
			num += this.handbookEventList_.CalculateSize(RogueTournHandbookInfo._repeated_handbookEventList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B99E RID: 47518 RVA: 0x001F4334 File Offset: 0x001F2534
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournHandbookInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.dDJMHBBHHCN_.Add(other.dDJMHBBHHCN_);
			this.bOKJMIFIKOM_.Add(other.bOKJMIFIKOM_);
			if (other.RogueTournHandbookConst != 0U)
			{
				this.RogueTournHandbookConst = other.RogueTournHandbookConst;
			}
			this.bBNHNOFGIIP_.Add(other.bBNHNOFGIIP_);
			this.hMDDJONLHFL_.Add(other.hMDDJONLHFL_);
			this.handbookEventList_.Add(other.handbookEventList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B99F RID: 47519 RVA: 0x001F43C5 File Offset: 0x001F25C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B9A0 RID: 47520 RVA: 0x001F43D0 File Offset: 0x001F25D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num <= 10U)
					{
						if (num == 8U || num == 10U)
						{
							this.dDJMHBBHHCN_.AddEntriesFrom(ref input, RogueTournHandbookInfo._repeated_dDJMHBBHHCN_codec);
							continue;
						}
					}
					else
					{
						if (num == 24U || num == 26U)
						{
							this.bOKJMIFIKOM_.AddEntriesFrom(ref input, RogueTournHandbookInfo._repeated_bOKJMIFIKOM_codec);
							continue;
						}
						if (num == 40U)
						{
							goto IL_8A;
						}
					}
				}
				else if (num <= 58U)
				{
					if (num == 42U)
					{
						goto IL_8A;
					}
					if (num == 56U || num == 58U)
					{
						this.hMDDJONLHFL_.AddEntriesFrom(ref input, RogueTournHandbookInfo._repeated_hMDDJONLHFL_codec);
						continue;
					}
				}
				else
				{
					if (num == 80U)
					{
						this.RogueTournHandbookConst = input.ReadUInt32();
						continue;
					}
					if (num == 104U || num == 106U)
					{
						this.bBNHNOFGIIP_.AddEntriesFrom(ref input, RogueTournHandbookInfo._repeated_bBNHNOFGIIP_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_8A:
				this.handbookEventList_.AddEntriesFrom(ref input, RogueTournHandbookInfo._repeated_handbookEventList_codec);
			}
		}

		// Token: 0x04004AB3 RID: 19123
		private static readonly MessageParser<RogueTournHandbookInfo> _parser = new MessageParser<RogueTournHandbookInfo>(() => new RogueTournHandbookInfo());

		// Token: 0x04004AB4 RID: 19124
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004AB5 RID: 19125
		public const int DDJMHBBHHCNFieldNumber = 1;

		// Token: 0x04004AB6 RID: 19126
		private static readonly FieldCodec<uint> _repeated_dDJMHBBHHCN_codec = FieldCodec.ForUInt32(10U);

		// Token: 0x04004AB7 RID: 19127
		private readonly RepeatedField<uint> dDJMHBBHHCN_ = new RepeatedField<uint>();

		// Token: 0x04004AB8 RID: 19128
		public const int BOKJMIFIKOMFieldNumber = 3;

		// Token: 0x04004AB9 RID: 19129
		private static readonly FieldCodec<uint> _repeated_bOKJMIFIKOM_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x04004ABA RID: 19130
		private readonly RepeatedField<uint> bOKJMIFIKOM_ = new RepeatedField<uint>();

		// Token: 0x04004ABB RID: 19131
		public const int RogueTournHandbookConstFieldNumber = 10;

		// Token: 0x04004ABC RID: 19132
		private uint rogueTournHandbookConst_;

		// Token: 0x04004ABD RID: 19133
		public const int BBNHNOFGIIPFieldNumber = 13;

		// Token: 0x04004ABE RID: 19134
		private static readonly FieldCodec<uint> _repeated_bBNHNOFGIIP_codec = FieldCodec.ForUInt32(106U);

		// Token: 0x04004ABF RID: 19135
		private readonly RepeatedField<uint> bBNHNOFGIIP_ = new RepeatedField<uint>();

		// Token: 0x04004AC0 RID: 19136
		public const int HMDDJONLHFLFieldNumber = 7;

		// Token: 0x04004AC1 RID: 19137
		private static readonly FieldCodec<uint> _repeated_hMDDJONLHFL_codec = FieldCodec.ForUInt32(58U);

		// Token: 0x04004AC2 RID: 19138
		private readonly RepeatedField<uint> hMDDJONLHFL_ = new RepeatedField<uint>();

		// Token: 0x04004AC3 RID: 19139
		public const int HandbookEventListFieldNumber = 5;

		// Token: 0x04004AC4 RID: 19140
		private static readonly FieldCodec<uint> _repeated_handbookEventList_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x04004AC5 RID: 19141
		private readonly RepeatedField<uint> handbookEventList_ = new RepeatedField<uint>();
	}
}
